package com.bigFuWengBackend.mapper;

import com.bigFuWengBackend.entity.Item;
import com.bigFuWengBackend.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.math.BigDecimal;
import java.util.List;

@Mapper
public interface UserInfoMapper {
    public User getUserInfo(@Param("id") String id);
    public List<Item> getUserItemsAll(@Param("id") String id);
    public void costMoney(@Param("id") String id,@Param("costMoney") BigDecimal Money);
}
